package com.muqi.app.qlearn.modles;

import java.io.Serializable;

import org.json.JSONObject;

import com.google.gson.Gson;

public class CommentBean implements Serializable  {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	public String id;
	public String rating;
	public String content;
	public String create_time;
	public PersonBean author_userInfo;
	public PersonBean replay_userInfo;
	
	
	public static CommentBean fromJson(JSONObject json) {
		if(json != null){
            return new Gson().fromJson(json.toString(),CommentBean.class);
        }
		return null;
	}
}
